<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Snapshot extends Model
{
    //
    protected $fillable = ['child_id', 'device_id', 'game_id', 'history_id','image'];

    public function child(){
        return $this->belongsTo(Child::class);
    }

    public function history(){
        return $this->belongsTo(History::class);
    }

}
